﻿using System.ComponentModel.DataAnnotations;

namespace WebApi6.Controllers.Auth.Dto
{
    /// <summary>
    /// 用户登录dto
    /// </summary>
    public class UserDto
    {
        /// <summary>
        /// 账号或邮箱    
        /// </summary>
        [Required(ErrorMessage = "账号必填")]
        public string UserName { get; set; }


        /// <summary>
        /// 密码    
        /// </summary>
        [Required(ErrorMessage = "密码必填")]
        
        public string PassWord { get; set; }
    }
}
